package com.cy.personer.mapper;

import com.cy.personer.bean.Report;
import com.cy.personer.bean.ReportItem;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface ReportMapper {
    //↓↓↓↓↓↓↓↓↓↓↓↓林少艺↓↓↓↓↓↓↓↓↓↓↓↓
    //添加报告
    int addReport(Report report);
    //获取报告详情
    Report getReport(Report report);
    //添加报告项目
    int addReportItem(Map<String ,Object> map);
    //获取报告项目
    Report getReportItem(Report report);
    //更改报告项目
    int updateReportItemState(ReportItem reportItem);
    //↑↑↑↑↑↑↑↑↑↑↑↑↑林少艺↑↑↑↑↑↑↑↑↑↑↑
    public List<Report>reportList(Integer userId);
}
